package com.mimi.design.bridge;

/**
 * create by gary 2020/3/26
 * 技术交流请加QQ:498982703
 *抽象化角色类
 *
 */
public abstract class Abstarction {

    protected  Implementor implementor;

    public Abstarction(Implementor implementor) {
        this.implementor = implementor;
    }

    /*操作方法*/
    public void operation() {
        implementor.operationImpl();

    }
}
